home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-09-20 | 2.1 KB | 79 lines |
- #/*****************************************************************************
- #*
- #* NCSA HDF version 3.10
- #* July 1, 1990
- #*
- #* NCSA HDF Version 3.10 source code and documentation are in the public
- #* domain. Specifically, we give to the public domain all rights for future
- #* licensing of the source code, all resale rights, and all publishing rights.
- #*
- #* We ask, but do not require, that the following message be included in all
- #* derived works:
- #*
- #* Portions developed at the National Center for Supercomputing Applications at
- #* the University of Illinois at Urbana-Champaign.
- #*
- #* THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
- #* SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
- #* WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
- #*
- #*****************************************************************************/
- #
- # Makefile for compiling required HDF routines and creating the library
- # for use with ImageTool 1.1 beta.
- #
- # THIS IS ONLY A SUBSET OF THE NCSA HDF VERSION 3.10! THERE IS A
- # SEPARATE DISTRIBUTION FOR NCSA HDF. See the anonymous FTP server
- # README.FIRST file for details.
- #
- # If you type
- #
- # make
- #
- # in this directory, correct execution will result in the library file
- #
- # libdf.a
- #
- # in this directory.
- #
- # The header files required are all in this directory.
- #
- #------------------------------------------------------------------------------
- #
- CFLAGS = -O
- #
- OBJS = df.o \
- dfr8.o \
- dfgroup.o \
- dfcomp.o \
- dfimcomp.o \
- dfkit.o \
- dfp.o \
- dfgr.o \
- dfsd.o
- #
- # include this simply to prevent the printing of the compile line.
- #
- .c.o:
- @ $(CC) $(CFLAGS) -c $<
- #
- # include 1>/dev/null 2>&1 to prevent the printing of any output
- #
- libdf.a: $(OBJS)
- @ if [ -f libdf.a ]; then \
- ar ruv libdf.a $? 1>/dev/null 2>&1; \
- else \
- ar rcv libdf.a $? 1>/dev/null 2>&1; \
- fi
- @ ranlib libdf.a
- #
- df.o: dfi.h df.h
- dfr8.o: dfrig.h dfi.h df.h
- dfgroup.o: dfi.h df.h
- dfcomp.o: dfi.h df.h
- dfimcomp.o: dfi.h df.h
- dfkit.o: dfi.h df.h
- dfp.o: dfi.h df.h
- dfgr.o: dfgr.h dfi.h df.h
- dfsd.o: dfsd.h dfi.h df.h dfconvert.h
-